/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package talvan;

/**
 * Klassi sum kann halda viðrir hjá einum starvsfólki
 * @author DJH
 */
public class Employe {
    
    private int id;
    private String firstName;
    private String lastName;
    private int devisionID;
    private String devisionName;
    
    public Employe()
    {
        
    }
    
   /**
    * Metoda sum returnar id nummari hjá Employe (starvsfólkinum) 
    * @return int ID number
    */
    public int getID()
    {
        return id;
    }
    
    /**
     * metoda sum setur id nummari hjá Employe (starvsfólkinum)
     * @param int ID number
     */
    public void setID(int ID)
    {
        this.id = ID;
    }
    
    /**
     * Metoda sum returnar fornavni hjá Employe (starvsfólkinum) 
     * @return String firstName
     */
    public String getFirstName()
    {
        return firstName;
    }
    
    /**
     * metoda sum setur firstName hjá Employe (starvsfólkinum)
     * @param name 
     */
    public void setFirstName(String name)
    {
        this.firstName = name;
    }
     
    /**
     * Metoda sum overRidar toString metoduna fyri at fáa eitt relevant navn á markmótuna
     * @return 
     */
    public String toString()
    {
        return firstName;
    }

    /**
     * @return the devision
     */
    public int getDevisionID() {
        return devisionID;
    }

    /**
     * @param Deild the Deild to set
     */
    public void setDevisionID(int DevisionID) {
        this.devisionID = DevisionID;
    }

    /**
     * @return the devisionName
     */
    public String getDevisionName() {
        return devisionName;
    }

    /**
     * @param devisionName the devisionName to set
     */
    public void setDevisionName(String devisionName) {
        this.devisionName = devisionName;
    }

    /**
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName the lastName to set
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }
}
